﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>删除和剪切字符串</title>
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

// ]]>
</script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table align="center" style="width: 774px; height: 289px">
                <tr>
                    <td colspan="2" style="height: 129px">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/image/head.gif" /></td>
                </tr>
                <tr>
                    <td align="center" rowspan="3" style="background-image: url(image/body2.gif); width: 890px">
                        <table style="border-top-width: thin; border-left-width: thin; border-left-color: #6699ff;
                            background-image: url(image/background.gif); border-bottom-width: thin; border-bottom-color: #6699ff;
                            width: 253px; border-top-color: #6699ff; height: 66px; background-color: white;
                            border-right-width: thin; border-right-color: #6699ff">
                            <tr>
                                <td colspan="2" style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Label ID="Label1" runat="server" Font-Size="Smaller" Text="修改密码（方案一： 删除字符串）"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 191px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/image/newMm.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 125px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:Label ID="LblOldStr" runat="server" Width="140px" Font-Size="Smaller">你好中国！</asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 191px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image7" runat="server" ImageUrl="~/image/CutStart.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 125px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:TextBox ID="TxtStart" runat="server" Width="137px" Font-Size="Smaller"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 191px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image8" runat="server" ImageUrl="~/image/DeleteStr.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 125px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:TextBox ID="TxtEnd" runat="server" Width="137px" Font-Size="Smaller"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 191px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image5" runat="server" ImageUrl="~/image/newMm.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 125px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:Label ID="LblNewStr" runat="server" Width="132px" Font-Size="Smaller"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 191px; border-top-color: #ccccff;
                                    height: 15px; border-right-width: thin; border-right-color: #ccccff">
                                </td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 125px; border-top-color: #ccccff;
                                    height: 15px; border-right-width: thin; border-right-color: #ccccff">
                                    <asp:ImageButton ID="ImgBtnDelete" runat="server" ImageUrl="~/image/update.gif" OnClick="ImgBtnDelete_Click" />&nbsp;</td>
                            </tr>
                        </table>
                        <br />
                        <table style="border-top-width: thin; border-left-width: thin; border-left-color: #ffcc00;
                            background-image: url(image/background.gif); border-bottom-width: thin; border-bottom-color: #ffcc00;
                            width: 268px; border-top-color: #ffcc00; height: 164px; border-right-width: thin;
                            border-right-color: #ffcc00">
                            <tr>
                                <td colspan="2" style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Label ID="Label2" runat="server" Font-Size="Smaller" Text=" 修改密码（方案二：剪切字符串）"
                                        Width="211px"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 245px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image6" runat="server" ImageUrl="~/image/OldMm.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 151px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:Label ID="LblCutOldStr" runat="server" Width="140px" Font-Size="Smaller">*@我喜@欢小狗@*</asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 245px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image9" runat="server" ImageUrl="~/image/CutStartStr.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 151px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:Label ID="LblCutStart" runat="server" Width="110px" Font-Size="Smaller"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 245px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Image ID="Image10" runat="server" ImageUrl="~/image/CutEndStr.gif" /></td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 151px; border-top-color: #ccccff;
                                    border-right-width: thin; border-right-color: #ccccff">
                        <asp:Label ID="LblCutEnd" runat="server" Width="112px" Font-Size="Smaller"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 245px; border-top-color: #ccccff;
                                    height: 27px; border-right-width: thin; border-right-color: #ccccff">
                                </td>
                                <td style="border-top-width: thin; border-left-width: thin; border-left-color: #ccccff;
                                    border-bottom-width: thin; border-bottom-color: #ccccff; width: 151px; border-top-color: #ccccff;
                                    height: 27px; border-right-width: thin; border-right-color: #ccccff">
                                    <asp:Button ID="BtnCut" runat="server" Height="22px" OnClick="BtnCut_Click" Text="修改"
                                        Width="53px" /></td>
                            </tr>
                        </table>
                    </td>
                    <td align="right" rowspan="3" style="width: 98px">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/image/body.gif" /></td>
                </tr>
                <tr>
                </tr>
                <tr>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Image ID="Image3" runat="server" ImageUrl="~/image/foot.gif" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
